package Account;


import javax.swing.JPanel;

import org.junit.Test;

public class relfect {
	@Test
	public void testReflect() throws ClassNotFoundException{
		Class<?> clasz=Class.forName("www.cslc.com.Account.registerAccount.ui.RegisterAccountUI");
	    JPanel jp2= (JPanel) clasz.cast(new JPanel());
	    System.out.println(jp2.getName());
	
	}
}
